﻿#pragma once
#include "yzrutil.h"
#include "lang/Exception.h"

namespace yzrilyzr_collection{
	template<typename E>
	EBCLASS(Iterator){
	public:
	virtual ~Iterator()=default;
	virtual bool hasNext()const=0;
	virtual E & next()=0;
	virtual void remove()=0;
	};
}